/**/

#import <Foundation/Foundation.h>

void displayStringAndCharacterCount()
{
    printf("\n\n===============================================\n");
    const char *word = "Test...";
    NSLog( @"\n\nThe \"word\" is: %s, and the charater length: %d\n\n", word, strlen(word) );
    
    //array of CStrings
    const char *words[3] = { "test001", "test002", "test003" };
    
    for ( int i=0; i<3; ++i ) 
    {
        NSLog( @"\n\n%d: The word: %s, and the character length: %d\n", i, words[i], strlen( words[i]) );
    }
    printf("\n===============================================\n\n");
}


int main (int argc, const char * argv[]) 
{
    displayStringAndCharacterCount();
    return 0;
}
